package com.example.shaoguanapp.ui.dashboard;

import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

import android.os.Bundle;
import android.widget.Button;
import android.view.View;
import android.view.View.OnClickListener;
import android.content.Intent;

public class DashboardViewModel extends ViewModel {

    private final MutableLiveData<String> mText;
    private Button btns1;

    public DashboardViewModel() {
        mText = new MutableLiveData<>();
        mText.setValue("This is dashboard fragment");

    }



    public LiveData<String> getText() {
        return mText;
    }
}